package com.shenzhen.horselive.adapter;

import com.chad.library.adapter.base.BaseMultiItemQuickAdapter;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.shenzhen.horselive.R;
import com.shenzhen.horselive.beans.WealthBean;

import org.jetbrains.annotations.NotNull;

public class WealthAdapter extends BaseMultiItemQuickAdapter<WealthBean, BaseViewHolder> {
    public WealthAdapter() {
        addItemType(0, R.layout.item_wealth_type_one);
        addItemType(1, R.layout.item_wealth_type_two);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, WealthBean wealthBean) {
        switch (baseViewHolder.getItemViewType())
        {
            case 0:
                //白底
                break;
            case 1:
                //图片底色
                break;
        }
    }
}
